package com.ischoolbar.programmer.entity.admin;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class Menu implements Serializable {
    private Integer id; // 菜单id
    private Integer parentId; // 父级菜单id
    private Integer _parentId;
    private String menu_name; // 菜单名称
    private String url; // 菜单url
    private String icon; // 菜单图标

    public Integer get_parentId() {
        _parentId = parentId;
        return _parentId;
    }

    public void set_parentId(Integer _parentId) {
        this._parentId = _parentId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getMenu_name() {
        return menu_name;
    }

    public void setMenu_name(String menu_name) {
        this.menu_name = menu_name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
